Este notebook contiene las instrucciones para instalar los paquetes que utilizo en Julia.

Antes de ejecutar este notebook, obviamente hay que instalar IPython y IJulia, ejecutando desde julia:

Pkg.add("IJulia")

Primero actualizamos las fuentes de los paquetes (tambien actualiza cualquier paquete instalado):


In [1]:
Pkg.update()


INFO: Updating METADATA...
INFO: Computing changes...
INFO: No packages to install, update or remove

Instalamos los paquetes:


In [2]:
Pkg.add("Gadfly")
Pkg.clone("Processing")
Pkg.add("Arduino")


INFO: Cloning cache of ArrayViews from git://github.com/JuliaLang/ArrayViews.jl.git
INFO: Cloning cache of Calculus from git://github.com/johnmyleswhite/Calculus.jl.git
INFO: Cloning cache of Codecs from git://github.com/dcjones/Codecs.jl.git
INFO: Cloning cache of ColorTypes from git://github.com/JuliaGraphics/ColorTypes.jl.git
INFO: Cloning cache of Colors from git://github.com/JuliaGraphics/Colors.jl.git
INFO: Cloning cache of Compose from git://github.com/dcjones/Compose.jl.git
INFO: Cloning cache of Contour from git://github.com/tlycken/Contour.jl.git
INFO: Cloning cache of DataArrays from git://github.com/JuliaStats/DataArrays.jl.git
INFO: Cloning cache of DataFrames from git://github.com/JuliaStats/DataFrames.jl.git
INFO: Cloning cache of DataStructures from git://github.com/JuliaLang/DataStructures.jl.git
INFO: Cloning cache of Distances from git://github.com/JuliaStats/Distances.jl.git
INFO: Cloning cache of Distributions from git://github.com/JuliaStats/Distributions.jl.git
INFO: Cloning cache of Docile from git://github.com/MichaelHatherly/Docile.jl.git
INFO: Cloning cache of DualNumbers from git://github.com/JuliaDiff/DualNumbers.jl.git
INFO: Cloning cache of FixedPointNumbers from git://github.com/JeffBezanson/FixedPointNumbers.jl.git
INFO: Cloning cache of GZip from git://github.com/JuliaLang/GZip.jl.git
INFO: Cloning cache of Gadfly from git://github.com/dcjones/Gadfly.jl.git
INFO: Cloning cache of Grid from git://github.com/timholy/Grid.jl.git
INFO: Cloning cache of Hexagons from git://github.com/dcjones/Hexagons.jl.git
INFO: Cloning cache of ImmutableArrays from git://github.com/JuliaGeometry/ImmutableArrays.jl.git
INFO: Cloning cache of Iterators from git://github.com/JuliaLang/Iterators.jl.git
INFO: Cloning cache of KernelDensity from git://github.com/JuliaStats/KernelDensity.jl.git
INFO: Cloning cache of Loess from git://github.com/dcjones/Loess.jl.git
INFO: Cloning cache of NaNMath from git://github.com/mlubin/NaNMath.jl.git
INFO: Cloning cache of Optim from git://github.com/JuliaOpt/Optim.jl.git
INFO: Cloning cache of PDMats from git://github.com/JuliaStats/PDMats.jl.git
INFO: Cloning cache of Reexport from git://github.com/simonster/Reexport.jl.git
INFO: Cloning cache of Showoff from git://github.com/dcjones/Showoff.jl.git
INFO: Cloning cache of SortingAlgorithms from git://github.com/JuliaLang/SortingAlgorithms.jl.git
INFO: Cloning cache of StatsBase from git://github.com/JuliaStats/StatsBase.jl.git
INFO: Cloning cache of StatsFuns from git://github.com/JuliaStats/StatsFuns.jl.git
INFO: Cloning cache of WoodburyMatrices from git://github.com/timholy/WoodburyMatrices.jl.git
INFO: Installing ArrayViews v0.6.3
INFO: Installing Calculus v0.1.10
INFO: Installing Codecs v0.1.4
INFO: Installing ColorTypes v0.1.3
INFO: Installing Colors v0.5.2
INFO: Installing Compose v0.3.14
INFO: Installing Contour v0.0.7
INFO: Installing DataArrays v0.2.18
INFO: Installing DataFrames v0.6.9
INFO: Installing DataStructures v0.3.12
INFO: Installing Distances v0.2.0
INFO: Installing Distributions v0.8.6
INFO: Installing Docile v0.5.18
INFO: Installing DualNumbers v0.1.3
INFO: Installing FixedPointNumbers v0.0.10
INFO: Installing GZip v0.2.17
INFO: Installing Gadfly v0.3.14
INFO: Installing Grid v0.3.10
INFO: Installing Hexagons v0.0.4
INFO: Installing ImmutableArrays v0.0.10
INFO: Installing Iterators v0.1.8
INFO: Installing KernelDensity v0.1.1
INFO: Installing Loess v0.0.3
INFO: Installing NaNMath v0.1.0
INFO: Installing Optim v0.4.2
INFO: Installing PDMats v0.3.5
INFO: Installing Reexport v0.0.3
INFO: Installing Showoff v0.0.4
INFO: Installing SortingAlgorithms v0.0.5
INFO: Installing StatsBase v0.7.2
INFO: Installing StatsFuns v0.1.3
INFO: Installing WoodburyMatrices v0.1.1
INFO: Package database updated
INFO: Cloning Processing from git://github.com/rennis250/Processing.jl.git
INFO: Computing changes...
INFO: Cloning cache of Cairo from git://github.com/JuliaLang/Cairo.jl.git
INFO: Cloning cache of Color from git://github.com/JuliaLang/Color.jl.git
INFO: Cloning cache of GLFW from git://github.com/JuliaGL/GLFW.jl.git
INFO: Cloning cache of Graphics from git://github.com/JuliaLang/Graphics.jl.git
INFO: Cloning cache of Gtk from git://github.com/JuliaLang/Gtk.jl.git
INFO: Cloning cache of Tau from git://github.com/Aerlinger/Tau.jl.git
INFO: Cloning cache of Tk from git://github.com/JuliaLang/Tk.jl.git
INFO: Installing Cairo v0.2.29
INFO: Installing Color v0.4.8
INFO: Installing GLFW v1.0.0-alpha.7
INFO: Installing Graphics v0.1.0
INFO: Installing Gtk v0.8.3
INFO: Installing Tau v0.0.3
INFO: Installing Tk v0.3.6
INFO: Building Homebrew
HEAD is now at 77e0293 remind: update 03.01.15 bottle.
HEAD is now at ac59d6c Merge pull request #64 from staticfloat/staging
INFO: Building Cairo
==> Installing gettext from staticfloat/homebrew-juliadeps
==> Downloading https://juliabottles.s3.amazonaws.com/gettext-0.19.4.yosemite.bottle.tar.gz
==> Pouring gettext-0.19.4.yosemite.bottle.tar.gz
==> Caveats
Emacs Lisp files have been installed to:
/Users/roberto/.julia/v0.3/Homebrew/deps/usr/share/emacs/site-lisp/

Add the following to your init file to have packages installed by
Homebrew added to your load-path:
(let ((default-directory "/Users/roberto/.julia/v0.3/Homebrew/deps/usr/share/emacs/site-lisp/"))
  (normal-top-level-add-subdirs-to-load-path))
==> Summary
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gettext/0.19.4: 1920 files, 21M
To relink: brew unlink gettext && brew link gettext
==> Installing glib from staticfloat/homebrew-juliadeps
==> Installing dependencies for staticfloat/juliadeps/glib: libffi
==> Installing staticfloat/juliadeps/glib dependency: libffi
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.0.13.yosemite.bottle.tar.gz
==> Pouring libffi-3.0.13.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /Users/roberto/.julia/v0.3/Homebrew/deps/usr.

Some formulae require a newer version of libffi.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/Users/roberto/.julia/v0.3/Homebrew/deps/usr/opt/libffi/lib

==> Summary
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/libffi/3.0.13: 14 files, 412K
==> Installing staticfloat/juliadeps/glib
==> Downloading https://juliabottles.s3.amazonaws.com/glib-2.42.1_1.yosemite.bottle.tar.gz
==> Pouring glib-2.42.1_1.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/glib/2.42.1_1: 410 files, 17M
To relink: brew unlink glib && brew link glib
==> Installing cairo from staticfloat/homebrew-juliadeps
==> Installing dependencies for staticfloat/juliadeps/cairo: libpng, staticfloat/juliadeps/freetype, staticfloat/juliadeps/fontconfig, staticfloat/juliadeps/pixman
==> Installing staticfloat/juliadeps/cairo dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.18.yosemite.bottle.tar.gz
==> Pouring libpng-1.6.18.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/libpng/1.6.18: 17 files, 1.2M
==> Installing staticfloat/juliadeps/cairo dependency: staticfloat/juliadeps/freetype
==> Downloading https://juliabottles.s3.amazonaws.com/freetype-2.5.5.yosemite.bottle.tar.gz
==> Pouring freetype-2.5.5.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/freetype/2.5.5: 60 files, 2.6M
==> Installing staticfloat/juliadeps/cairo dependency: staticfloat/juliadeps/fontconfig
==> Downloading https://juliabottles.s3.amazonaws.com/fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> Pouring fontconfig-2.11.1.yosemite.bottle.3.tar.gz
==> /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/fontconfig/2.11.1/bin/fc-cache -frv
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/fontconfig/2.11.1: 448 files, 3.6M
==> Installing staticfloat/juliadeps/cairo dependency: staticfloat/juliadeps/pixman
==> Downloading https://juliabottles.s3.amazonaws.com/pixman-0.32.6.yosemite.bottle.1.tar.gz
==> Pouring pixman-0.32.6.yosemite.bottle.1.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/pixman/0.32.6: 11 files, 1.4M
==> Installing staticfloat/juliadeps/cairo
==> Downloading https://juliabottles.s3.amazonaws.com/cairo-1.14.0.yosemite.bottle.tar.gz
==> Pouring cairo-1.14.0.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/cairo/1.14.0: 101 files, 6.0M
To relink: brew unlink cairo && brew link cairo
==> Installing pango from staticfloat/homebrew-juliadeps
==> Installing dependencies for staticfloat/juliadeps/pango: staticfloat/juliadeps/icu4c, staticfloat/juliadeps/harfbuzz, staticfloat/juliadeps/gobject-introspection
==> Installing staticfloat/juliadeps/pango dependency: staticfloat/juliadeps/icu4c
==> Downloading https://juliabottles.s3.amazonaws.com/icu4c-54.1.yosemite.bottle.tar.gz
==> Pouring icu4c-54.1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /Users/roberto/.julia/v0.3/Homebrew/deps/usr.

OS X provides libicucore.dylib (but nothing else).

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/Users/roberto/.julia/v0.3/Homebrew/deps/usr/opt/icu4c/lib
    CPPFLAGS: -I/Users/roberto/.julia/v0.3/Homebrew/deps/usr/opt/icu4c/include

==> Summary
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/icu4c/54.1: 242 files, 65M
==> Installing staticfloat/juliadeps/pango dependency: staticfloat/juliadeps/harfbuzz
==> Downloading https://juliabottles.s3.amazonaws.com/harfbuzz-0.9.37.yosemite.bottle.tar.gz
==> Pouring harfbuzz-0.9.37.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/harfbuzz/0.9.37: 72 files, 2.9M
==> Installing staticfloat/juliadeps/pango dependency: staticfloat/juliadeps/gobject-introspection
==> Downloading https://juliabottles.s3.amazonaws.com/gobject-introspection-1.42.0.yosemite.bottle.tar.gz
==> Pouring gobject-introspection-1.42.0.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gobject-introspection/1.42.0: 196 files, 10M
==> Installing staticfloat/juliadeps/pango
==> Downloading https://juliabottles.s3.amazonaws.com/pango-1.36.8.yosemite.bottle.1.tar.gz
==> Pouring pango-1.36.8.yosemite.bottle.1.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/pango/1.36.8: 132 files, 4.8M
To relink: brew unlink pango && brew link pango
INFO: Building GLFW
INFO: Downloading pre-compiled GLFW 3.1.1 binary
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 62075  100 62075    0     0  97371      0 --:--:-- --:--:-- --:--:-- 97296
INFO: Building Gtk
==> Installing gtk+3 from staticfloat/homebrew-juliadeps
==> Installing dependencies for staticfloat/juliadeps/gtk+3: jpeg, libtiff, staticfloat/juliadeps/gdk-pixbuf, staticfloat/juliadeps/atk
==> Installing staticfloat/juliadeps/gtk+3 dependency: jpeg
==> Downloading https://homebrew.bintray.com/bottles/jpeg-8d.yosemite.bottle.2.tar.gz
==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/jpeg/8d: 18 files, 776K
==> Installing staticfloat/juliadeps/gtk+3 dependency: libtiff
==> Downloading https://homebrew.bintray.com/bottles/libtiff-4.0.4.yosemite.bottle.tar.gz
==> Pouring libtiff-4.0.4.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/libtiff/4.0.4: 257 files, 3.9M
==> Installing staticfloat/juliadeps/gtk+3 dependency: staticfloat/juliadeps/gdk-pixbuf
==> Downloading https://juliabottles.s3.amazonaws.com/gdk-pixbuf-2.30.8.yosemite.bottle.tar.gz
==> Pouring gdk-pixbuf-2.30.8.yosemite.bottle.tar.gz
==> /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> Caveats
Programs that require this module need to set the environment variable
  export GDK_PIXBUF_MODULEDIR="/Users/roberto/.julia/v0.3/Homebrew/deps/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders"
If you need to manually update the query loader cache
  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gdk-pixbuf/2.30.8/bin/gdk-pixbuf-query-loaders --update-cache
==> Summary
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gdk-pixbuf/2.30.8: 209 files, 4.3M
==> Installing staticfloat/juliadeps/gtk+3 dependency: staticfloat/juliadeps/atk
==> Downloading https://juliabottles.s3.amazonaws.com/atk-2.14.0.yosemite.bottle.tar.gz
==> Pouring atk-2.14.0.yosemite.bottle.tar.gz
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/atk/2.14.0: 205 files, 3.5M
==> Installing staticfloat/juliadeps/gtk+3
==> Downloading https://juliabottles.s3.amazonaws.com/gtk+3-3.14.6_1.yosemite.bottle.tar.gz
==> Pouring gtk+3-3.14.6_1.yosemite.bottle.tar.gz
==> /Users/roberto/.julia/v0.3/Homebrew/deps/usr/opt/glib/bin/glib-compile-schemas /Users/roberto/.julia/v0.3/Homebrew/deps/usr/share/glib-2.0/schemas
🍺  /Users/roberto/.julia/v0.3/Homebrew/deps/usr/Cellar/gtk+3/3.14.6_1: 1263 files, 66M
To relink: brew unlink gtk+3 && brew link gtk+3
INFO: Building Tk
INFO: Cloning cache of Arduino from git://github.com/rennis250/Arduino.jl.git
INFO: Cloning cache of GetC from git://github.com/rennis250/GetC.jl.git
INFO: Installing Arduino v0.1.2
INFO: Installing GetC v1.1.1
INFO: Package database updated